package com.jing.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(description = "商品SKU实体类")
public class ShopSkuStockDTO {
    @ApiModelProperty(value = "SKU ID")
    private Long id;
    @ApiModelProperty(value = "商品 ID")
    private Long shopId;
    @ApiModelProperty(value = "SKU编码")
    private String skuCode;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "库存")
    private Integer stock;
    @ApiModelProperty(value = "预警库存")
    private Integer lowStock;

    //  TODO 暂迭代为多个规格属性用，拼接
    @ApiModelProperty(value = "规格属性1")
    private String sp1;
    @ApiModelProperty(value = "规格属性2")
    private String sp2;
    @ApiModelProperty(value = "规格属性3")
    private String sp3;

    @ApiModelProperty(value = "展示图片")
    private List<String> pics;
    @ApiModelProperty(value = "销量")
    private Integer sale;
    @ApiModelProperty(value = "单品促销价格")
    private BigDecimal promotionPrice;
    @ApiModelProperty(value = "锁定库存")
    private Integer lockStock;
}
